package com.icode.service.house;

import com.icode.core.dto.house.HomePageDTO;
import com.icode.core.model.house.HomeInfoImage;
import com.icode.core.model.house.HomeIntroImage;
import com.icode.core.model.house.HomePartnerImage;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-3-2
 * Time: 下午2:54
 * To change this template use File | Settings | File Templates.
 */
public interface HomePageService {

    HomePageDTO findHomePage();

    void updateHomePage(HomePageDTO homePageDTO);

    HomeIntroImage findIntroByImgGuid(String imgGuid);

    HomeInfoImage findInfoByImgGuid(String imgGuid);

    HomePartnerImage findPartnersByImgGuid(String imgGuid);

    void deleteObject(Object object);

    List<HomeIntroImage> findHomeIntroImageByHomePageId(String homePageId);

    List<HomeInfoImage> findHomeInfoImageByHomePageId(String homePageId);

    List<HomePartnerImage> findHomePartnerImageByHomePageId(String homePageId);

    void updateHomeImagesByType(String type, HttpServletResponse response);
}
